AIOSEO\Plugin\Common\Models\Post C

Total Complexity 114
Dependencies 0
Dependents 24
Total lines 677
Lines of code 371
Logical lines of code 195
Comment lines 210
Methods 17
Properties 4

Methods 17

Method Rating Maintainability Complexity Lines of code
sanitizeAndSetDefaults()
D
35 42 56
sanitizeKeyphrases()
A
52 10 28
setDynamicDefaults()
A
54 8 21
setOgTwitterImageData()
S
49 6 34
sanitizePageAnalysis()
S
56 7 18
migrateImageTypes()
S
57 7 16
getDefaultSchemaOptions()
S
48 4 37
checkForDefaultFormat()
S
59 5 14
getKeyphrasesDefaults()
S
52 4 27
migrateRemovedQaSchema()
S
60 4 13
runDynamicSchemaMigration()
S
62 4 12
getPost()
S
56 3 19
savePost()
S
58 3 16
updatePostMeta()
S
59 3 13
getOptionsDefaults()
S
60 2 14
getPageAnalysisDefaults()
S
53 1 28
runDynamicMigrations()
S
73 1 5